package models;

import org.jongo.marshall.jackson.oid.Id;
import org.jongo.marshall.jackson.oid.ObjectId;

public class Conversation {

	@Id
	@ObjectId
	private String id;
	private long datetime;
	private org.bson.types.ObjectId ownerId;
	private String ownerName;
	private org.bson.types.ObjectId destinateId;
	private String destinateType;
	private String content;
	private String contentType; // text of file_path ...
	private String messageType;
	private String exchangeName;
	private String routingKey;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public long getDatetime() {
		return datetime;
	}

	public void setDatetime(long datetime) {
		this.datetime = datetime;
	}

	public org.bson.types.ObjectId getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(org.bson.types.ObjectId ownerId) {
		this.ownerId = ownerId;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public org.bson.types.ObjectId getDestinateId() {
		return destinateId;
	}

	public void setDestinateId(org.bson.types.ObjectId destinateId) {
		this.destinateId = destinateId;
	}

	public String getDestinateType() {
		return destinateType;
	}

	public void setDestinateType(String destinateType) {
		this.destinateType = destinateType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getMessageType() {
		return messageType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getExchangeName() {
		return exchangeName;
	}

	public void setExchangeName(String exchangeName) {
		this.exchangeName = exchangeName;
	}

	public String getRoutingKey() {
		return routingKey;
	}

	public void setRoutingKey(String routingKey) {
		this.routingKey = routingKey;
	}
}
